#pragma once
#include "scbitf.h"

namespace rtdev {
class DefaultRobPower : public ScbRobPowerItf
{
public:
    DefaultRobPower();

    virtual int set_power(bool power, int robid) override;
    virtual double get_power(int robid) override;
    virtual double get_voltage(int robid) override;
    virtual double get_current(int robid) override;

    bool is_cmd_power_on;
    double feedback_voltage;
    double feedback_current;
    double feedback_power;

    SafetyBoardItf* scb;
};
}  // namespace rtdev